FROM mhsdong/jdk1.8:v1
ENV jvmconfig="-Xms1g -Xmx1g"
WORKDIR /admin
ADD archive-admin.jar /admin/admin.jar
ADD lib/ /admin/lib/
ADD run.sh /
ENTRYPOINT ["/bin/sh","/run.sh"]
CMD ["$jvmconfig"]
